import { Alova } from '@/utils/http/alova/index';

//获取table
export function postSetting(params: any) {
  return Alova.Post('/admin/setting', params);
}

export function putSetting(params: any) {
  return Alova.Put('/admin/setting', params);
}

export function patchSetting(params: any) {
  return Alova.Patch('/admin/setting', params);
}

export function deleteSetting(id: number) {
  return Alova.Delete('/admin/setting/' + id);
}
